package com.zzyl.nursing.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@ApiModel(description = "服务记录实体")
public class NursingProjectDto {

    @ApiModelProperty(value = "创建人ID", example = "1")
    private String createBy;

    @ApiModelProperty(value = "创建时间", example = "2023-01-01 12:00:00")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新人ID", example = "1")
    private String updateBy;

    @ApiModelProperty(value = "更新时间", example = "2023-01-01 12:00:00")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

    @ApiModelProperty("备注信息")
    private String remark;

    @ApiModelProperty(value = "记录ID", example = "1234567890")
    private Long id;

    @ApiModelProperty("服务名称")
    private String name;

    @ApiModelProperty(value = "排序号", example = "1")
    private Integer orderNo;

    @ApiModelProperty("单位")
    private String unit;

    @ApiModelProperty(value = "价格", example = "100.5")
    private Double price;

    @ApiModelProperty("图片路径")
    private String image;

    @ApiModelProperty("护理要求")
    private String nursingRequirement;

    @ApiModelProperty(value = "状态", example = "1", allowableValues = "0, 1")
    private Integer status;
}